﻿using System;
using System.Windows.Forms;
using bbtpClient.Controllers;

namespace bbtpClient
{
    public partial class SalesmanStartup : Form
    {
        public SalesmanStartup()
        {
            InitializeComponent();
            label_UserName.Text = UserInfo.Name;
        }

        private void button_CreateOrder_Click(object sender, EventArgs e)
        {
           SalesmanController.ShowCreateOrderForm();
        }

        private void button_EditOrderList_Click(object sender, EventArgs e)
        {
            SalesmanController.ShowEditOrderListForm();
        }

        private void SalesmanStartup_Load(object sender, EventArgs e)
        {

        }

        private void button_CreateOrderReturn_Click(object sender, EventArgs e)
        {
            SalesmanController.ShowCreateOrderForReturnForm();
        }


    }
}